package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.ZtbBiddingnoticecontract;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.ZtbBiddingnoticecontractVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

/**
 * 合同表 Mapper接口
 *
 * @author admin
 * @since 2025-10-20
 */
@Mapper
public interface ZtbBiddingnoticecontractMapper extends BaseMapper<ZtbBiddingnoticecontract> {
    /**
     * 查询合同表
     *
     * @return
     */
    List<ZtbBiddingnoticecontractVO> selectZtbBiddingnoticecontractList(@Param("query") ZtbBiddingnoticecontractVO vo);

    IPage<ZtbBiddingnoticecontractVO> pageList(@Param("page") Page<ZtbBiddingnoticecontractVO> page, @Param("query") ZtbBiddingnoticecontractVO vo);

    List<ZtbBiddingnoticecontractVO> getDataForExport(@Param("query") ZtbBiddingnoticecontractVO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<ZtbBiddingnoticecontractVO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);
}
